//
//  IMCellDisplayData.h
//  ChatMainDemo
//
//  Created by peiw on 16/1/21.
//  Copyright © 2016年 peiw. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "IMCellConfig.h"
#import "IMChatMessage.h"

typedef NS_ENUM(NSInteger , IMMessageDirection) {
    Send ,
    Recv ,
    Local ,
};

@interface IMCellDisplayData : NSObject

@property (nonatomic , strong) IMChatMessage *msg;
@property (nonatomic , assign) IMMessageDirection direction;
@property (nonatomic , strong) NSString *textContent;
@property (nonatomic , strong) NSString *imageUrlContent;

@property (nonatomic , assign) CGSize contentSize;

- (UIImage *)bubbleImage;
- (IMCellConfig *)chatCellConfig;

@end
